package graphics.view3D;

import com.badlogic.gdx.audio.Sound;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.Sprite;

// TODO bad architecture: manage sound differently
public class Sprite3D extends Sprite {
	private Sound associatedSound = null;
	
	public Sprite3D(Texture pieceSet, int i, int j, int k, int l) {
		super( pieceSet,  i,  j,  k,  l);
	}

	public boolean hasSound(){
		return (associatedSound != null);
	}
	
	public void setSound(Sound sound){
		associatedSound = sound;
	}
	public Sound getSound(Sound sound){
		return associatedSound;
	}

}
